package main;


import models.DesktopModel;
import mvc.AbstractView;
import java.io.IOException;

public class SurveyBlaster
{

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException
	{
		DesktopModel desktop = new DesktopModel("SurveyBlaster", "[Desktop View]");
		AbstractView view = desktop.createView();
		desktop.notifyObservers();
		
		ConsoleInterpreterSingleton interpreter = ConsoleInterpreterSingleton.getInstance();
		interpreter.pipeEventsTo(view);
		interpreter.run();
	}

}
